package com.ruoyi.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class AiKeyModelEntity {

    private int id;

    private int modelId;

    private int keyId;

    private int state;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date updateTime;

    public static final int STATE_NORMAL = 0;
    // 临时禁用
    public static final int STATE_DISABLED = 10;
}
